//
//  URLs.swift
//  edu
//
//  Created by karlzhou on 15/11/3.
//  Copyright © 2015年 karlzhou. All rights reserved.
//

import UIKit

class URLs{
    static let baseURL: String = "http://localhost"
    static let apiVersion: String = "/api/v1"
    
    //home
    
    static let ALL_COURSE:String = " http://mobile.open.163.com/movie/2/getPlaysForAndroid.htm"
    
    static let HOME_PAGE:String = "http://c.open.163.com/mobile/recommend/v1.do?mt=aphone"
    
    static let HOME_RECOMANDATION = "http://c.open.163.com/opensg/mopensg.do"
    
    
    // user
    static let LOGIN: String = baseURL + "/signin"
    static let LOGIN_WITH_GITHUB: String = baseURL + "/auth/github"
    static let FORGOT_PASSWORD: String = baseURL + "/search_pass"
    static let SETTING: String = baseURL + "/setting"
    static let PROFILE: String = baseURL + apiVersion + "/user/"

    //movie detail
    static let MOVIE_DETAIL = "http://mobile.open.163.com/movie/MB7A39412/getMoviesForAndroid.htm"
    
    static let HOT_SEARCH = "http://c.open.163.com/opensg/hotsearch.do" 

}
